package edu.zju.gis.dbfg.fileserver.service;

import edu.zju.gis.dbfg.common.Page;
import edu.zju.gis.dbfg.common.base.BaseFilter;
import edu.zju.gis.dbfg.common.base.BaseService;
import edu.zju.gis.dbfg.fileserver.model.ConstructedDataset;


public interface ConstructedDatasetService extends BaseService<ConstructedDataset, String> {
    int insert(ConstructedDataset t);

    Page<ConstructedDataset> search(BaseFilter params, Page page);

    Page<ConstructedDataset> selectByPage(String userId, Page page);
    Page<ConstructedDataset> selectByPageFinish(String userId, Page page);
    Page<ConstructedDataset> selectAllPublicFinish(String userId,Page page);
    int updateSizeById(ConstructedDataset c);

    int updateByPrimaryKey(ConstructedDataset record);
    int deleteByPrimaryKey(String id);
}
